package com.cloud.api.constants;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
@Data
@Schema(description = "短信类型")
public class SmsType implements Serializable {

    @NotNull(message = "类型不能为空")
    @NotEmpty(message = "类型不能为空")
    private String type;

    @NotEmpty(message = "clientId不能为空")
    private String clientId;
}
